package com.maxvision.mybatis.service;

import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.concurrent.Future;

/**
 * @author HuangRongFu
 * 2022/12/9 星期五21:54
 */


public interface ImageService {

    ResponseEntity importImagesByCallableSubmit(MultipartFile[] multipartFiles);

    ResponseEntity importImagesByRunnableSubmit(MultipartFile[] multipartFiles);
    
    ResponseEntity importImagesByRunnableSubmitCountDownLatch(MultipartFile[] multipartFiles);

    ResponseEntity importImagesForList(MultipartFile[] multipartFiles);

    Future<String> async();
}
